package com.bank.dao.impl;

import com.bank.dao.DBUtil;
import com.bank.dao.Interface.UpDateDao;

public class UpDateDaoImpl extends DBUtil implements UpDateDao {
    @Override
    public void upDate(double count, String  bank_id) {
        String sql="UPDATE tb_bankcard " +
                "SET count=?" +
                "WHERE" +
                " bank_id = ?";
        super.executeUpdate(sql,count,bank_id);

    }

}
